package group.rober.sql.dao;

import group.rober.sql.annotation.SQLDao;
import group.rober.sql.annotation.SQLParam;
import group.rober.sql.entity.Person;

import java.util.List;

//@SQLDao("classpath:abc/def/xyz.sql.md")
@SQLDao
public interface PersonDao {

    Person getPerson(@SQLParam("id") String id);

    List<Person> getPersonList(@SQLParam("gender") String gender);

}
